<?php if (!defined('THINK_PATH')) exit();?><table id="zds_<?php echo ($index); ?>_dg"></table>

<div id="zdstool_<?php echo ($index); ?>">    
	<table>
		<tr>
	
			<td>
				<div class="datagrid-btn-separator"></div>
			</td>
			<td>
				<a href="#" class="easyui-linkbutton"  onclick="viewZds('<?php echo ($index); ?>')" data-options="iconCls:'icon-standard-application-view-gallery',plain:true">查看</a> 
			</td>
			<td>
				<div class="datagrid-btn-separator"></div>
			</td>    
			<td>
				<a href="#" class="easyui-linkbutton"  onclick="reloadZds('<?php echo ($index); ?>')" data-options="iconCls:'icon-standard-arrow-refresh',plain:true">刷新</a> 
			</td>
			<td>
				<div class="datagrid-btn-separator"></div>
			</td>
			<td>
				<div style="float:right;">        
					<input  id='search_zds_box_<?php echo ($index); ?>' class="easyui-searchbox" data-options="" style="width:400px;"/>
				</div>			  			      
				<div id="mm_zds_<?php echo ($index); ?>" style="width:400px">
					<div data-options="name:'content',iconCls:'icon-standard-table-edit',selected:true">全局搜索</div>
					<div data-options="name:'title',iconCls:'icon-standard-table-edit'">名称</div>
					<div data-options="name:'ids',iconCls:'icon-standard-table-edit'">编号</div>
					<div data-options="name:'nickname',iconCls:'icon-standard-table-edit'">作者</div>
				</div>
			</td>
			<td>
				<div class="datagrid-btn-separator"></div>
			</td>
			<td>
				<a href="#" id="finaZdsBtn<?php echo ($index); ?>" class="easyui-linkbutton"  onclick="finaSearchZds('<?php echo ($index); ?>')" data-options="iconCls:'icon-search',plain:true">显示高级搜索</a>
			</td>
		</tr>
	</table>
	<!-- 全局搜索 -->
	<table  id="finaBoxZds_<?php echo ($index); ?>" style="display:none;">
		<tr >
			<td style="padding:0px 0px 0px 5px" colspan="5">
				<div class="table-btn-separator"></div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="finaSeDiv">
					<label for="name">编号:</label>
					<input class="easyui-textbox" type="text" name="ids" id="f_<?php echo ($index); ?>_ids" style="width:130px" />
				</div>
			</td>
			<td>
				<div class="finaSeDiv">
					<label for="name">名称:</label>
					<input class="easyui-textbox" type="text" name="title" id="f_<?php echo ($index); ?>_title" style="width:130px" />
				</div>
			</td>
			<td>
				<div class="finaSeDiv">
					<label for="name">车间:</label>

					<input id="f_<?php echo ($index); ?>_cj" name="cj" class="easyui-textbox" data-options="iconCls:'',editable:true,panelHeight:'auto'"  style="width:130px" />


				</div>
			</td>
			<td>
				<div class="finaSeDiv">
					<label for="name">工位:</label>

					<select id="f_<?php echo ($index); ?>_gw" class="easyui-combobox" name="gws" style="width:130px;">   

					</select>  

					<!-- <input id="f_<?php echo ($index); ?>_gw" name="gws" class="easyui-textbox" data-options="iconCls:'',editable:true,panelHeight:'auto'"  style="width:130px" /> -->
				</div>
			</td>
			<td>
				<div class="finaSeDiv">
					<label for="name">车型/配置:</label>
					<input class="easyui-textbox" type="text" name="cx" id="f_<?php echo ($index); ?>_cx" style="width:130px" />
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="finaSeDiv">
					<label for="name">分组:</label>

					<input id="f_<?php echo ($index); ?>_fz" class="easyui-combogrid" data-options="" name="fz[]" style="width:120px;"/>

				</div>
			</td>
			<td>
				<div>
					<label for="name">作者:</label>
					<input class="easyui-textbox" type="text" name="nickname" id="f_<?php echo ($index); ?>_nickname" style="width:130px" />
				</div>
			</td>
			<td colspan="2">


				<div class="finaSeDiv2">
					<label for="name">日期:</label>

					<input  name="creatdates" id="f_<?php echo ($index); ?>_creatdates"   type= "text" class= "easyui-datebox" style="width:100px"/>  到  
					<input  name="creatdatee" id="f_<?php echo ($index); ?>_creatdatee"   type= "text" class= "easyui-datebox" style="width:100px"/>

					<a  href="#" onclick="finaZds('<?php echo ($index); ?>')" class="easyui-linkbutton" data-options="iconCls:'icon-search'">搜索</a>
				</div>
			</td>
		</tr>
	</table>
</div>
<script src="/solve/Public/App/zds/index.js"></script>